module Mux3to1_2bit (x,y,z,op,S1,S2);

input x,y,z;
output op;
input S1,S2;

assign op = ( S1 == 1 )? x : ( S2 == 1 )? z : ( S1 == 0 )? y : x;

endmodule
